import { http } from "@/utils/http";
import { cmsUrl } from "@/utils/http/utils";
import type { ResultSet } from "@/common/type/CommonType";
import type { NewCMSType } from "@/common/type/cms/system";

export const selectList = (data?: NewCMSType) => {
  return http.request<ResultSet<NewCMSType[]>>("post", cmsUrl("type/list"), {
    data
  });
};
